ElasticPress\Elasticsearch D

Total Complexity 193
Dependencies 3
Dependents 26
Total lines 1,802
Lines of code 747
Logical lines of code 400
Comment lines 769
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
set_elasticsearch_info()
C
38 24 61
query()
B
36 15 75
remote_request()
A
40 13 54
get_documents()
A
48 8 31
parse_api_response()
A
51 8 28
put_mapping()
S
49 6 31
create_network_alias()
S
51 6 27
get_index_names()
S
55 6 18
index_exists()
S
58 6 15
is_empty_query()
S
59 6 15
get_index_settings()
S
51 5 27
create_pipeline()
S
54 5 20
update_index_settings()
S
55 5 19
format_request_headers()
S
56 5 18
get_document()
S
55 5 17
get_mapping()
S
57 5 16
index_document()
S
48 4 31
add_query_log()
S
63 6 9
delete_document()
S
53 4 21
bulk_index()
S
53 4 21
get_pipeline()
S
55 4 19
delete_index()
S
60 4 12
cache_elasticsearch_info()
S
55 3 23
get_cluster_status()
S
56 3 18
refresh_indices()
S
62 4 10
delete_network_alias()
S
62 4 10
get_index_setting()
S
67 3 7
add_elasticpress_version_to_user_agent()
S
62 2 11
factory()
S
69 2 7
open_index()
S
64 2 9
close_index()
S
64 2 9
get_hits_from_query()
S
70 2 6
get_total_hits_from_query()
S
71 2 6
get_query_log()
S
82 1 3
delete_all_indices()
S
80 1 3
get_index_total_fields_limit()
S
79 1 3
get_elasticsearch_info()
S
67 1 8
get_elasticsearch_plugins()
S
74 1 4
get_server_type()
S
74 1 4
get_elasticsearch_version()
S
74 1 4
parse_site_id()
S
78 1 3
get_cluster_indices()
S
72 1 5
get_indices_comparison()
S
65 1 9